using fit;
using OneDayModel.Tests.Fits.UIUsers;

namespace OneDayModel.Tests.Fits.Fixtures.Scenarios
{
    public class StatisticsFixture : Fixture
    {
        private StatisticsUser statisticsUser;

        public StatisticsFixture()
        {
            UsersFactory userFactory =
                (UsersFactory)TestUtils.ContextManager.TestContext[typeof(UsersFactory).ToString()];
            statisticsUser = userFactory.GetStatisticsUser();
        }

        public string Total()
        {
            return statisticsUser.GetTotal();
        }
        public string Online()
        {
            return statisticsUser.GetOnline();
        }
        public string NewToday()
        {
            return statisticsUser.GetNewToday();
        }
    }
}